﻿// Copyright © Olaf Kober, 2013-05

using System;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;


namespace $rootnamespace$
{
	/// <summary>
	/// </summary>
	[Serializable]
	public class $fileinputname$Exception : Exception
	{
		#region ++ Public Interface ++
	
		/// <summary>
		/// Initializes a new instance.
		/// </summary>
		public $fileinputname$Exception()
		{
		}

		/// <summary>
		/// Initializes a new instance.
		/// </summary>
		/// 
		/// <param name="message">
		/// The error message that explains the reason for the exception.</param>
		public $fileinputname$Exception(String message)
			: base(message)
		{
		}

		/// <summary>
		/// Initializes a new instance.
		/// </summary>
		/// 
		/// <param name="message">
		/// The error message that explains the reason for the exception.</param>
		/// <param name="innerException">
		/// The exception that is the cause of the current exception.</param>
		public $fileinputname$Exception(String message, Exception innerException)
			: base(message, innerException)
		{
		}

		#endregion

		#region ++ Serialization Interface ++

//		/// <summary>
//		/// Initializes a new instance.
//		/// </summary>
//		/// 
//		/// <param name="info">
//		/// The object that holds the serialized object data.</param>
//		/// <param name="context">
//		/// The contextual information about the source or destination.</param>
//		protected $fileinputname$Exception(SerializationInfo info, StreamingContext context)
//			: base(info, context)
//		{
//		}
//
//		/// <summary>
//		/// The method sets the SerializationInfo with information about the exception.
//		/// </summary>
//		/// 
//		/// <param name="info">
//		/// The object that holds the serialized object data.</param>
//		/// <param name="context">
//		/// The contextual information about the source or destination.</param>
//		/// 
//		/// <exception cref="T:System.ArgumentNullException">
//		/// The info parameter is a null reference (Nothing in Visual Basic). </exception>
//		[SecurityPermission(SecurityAction.Demand, SerializationFormatter = true)]
//		public override void GetObjectData(SerializationInfo info, StreamingContext context)
//		{
//		    base.GetObjectData(info, context);
//		}

		#endregion

	}
}
